<style>
    .mytitle{
        display: none;
    }
</style>

<!-- 数据表格 -->
<table cellspacing="1" class="mylist2">

		<tr class="mylist_title">
			<td>序号</td>
                        <td>活动名称</td>
			<td>人群属性</td>
			<td>人员姓名</td>
			<td>人员手机号</td>
			<td>省份</td>
			<td>城市</td>
			<td>地区</td>
                        <td>详细地址</td>
			<td>时间</td>
		</tr>
	<tbody>
		<?php
                $i=1;
                foreach ($data->getData() as $key => $value) {?>
		<tr class="datalist">			
			<td><?php echo $i;?></td>
                        <td><?php echo $value->ad->activity->title;?></td>
			<td><?php echo $value->crowd->title;?></td>
			<td><?php echo $value->username;?></td>
			<td><?php echo $value->phone;?></td>
			<td><?php echo $value->province;?></td>
			<td><?php echo $value->city;?></td>
			<td><?php echo $value->area;?></td>
			<td><?php echo $value->address;?></td>
			<td><?php echo $value->ad->start;?></td>
		</tr>
		<?php 
                $i+=1;
                }?>
	</tbody>
</table>
<!-- 数据表格 -->

<!-- 数据分页 -->
<div class="mylist_foot">
	<div class="pagecss fr">
	<?php $this->widget("CLinkPager", array(
        "pages" => $data->pagination,
        "header"=>"跳转到：",
        "prevPageLabel"=>"&lt; 上一页",
        "nextPageLabel"=>"&gt; 下一页",
        "firstPageLabel"=>"&lt;&lt; 首页",
        "lastPageLabel"=>"&gt;&gt; 尾页",
        "maxButtonCount"=>5,
        "footer"=>"当前页数：".($data->pagination->currentPage+1)." 总页数：".$data->pagination->pageCount." 总记录数：".$data->pagination->itemCount
    )) ?>
	</div>
</div>
<!-- 脚本 -->
